#!/usr/bin/env python

import sys

LINE = sys.argv[1:]
prefix = LINE[0]
files  = LINE[2:]

print "%s=%s" % (prefix,files[0])
for f in files[1:]:
    print "%s+=%s" % (prefix,f)

